
#include "PolygonPath.h"

namespace abliefern {
	void PolygonPath::addPoint(Point2f thePoint){
		_myPoints.push_back(thePoint);
	}
	
	int PolygonPath::size(){
		return _myPoints.size();
	}
	
	Point2f* PolygonPath::at(int theIndex){
		return &_myPoints.at(theIndex);
	}
	
	void PolygonPath::addPoint(float theX, float theY){
		Point2f myPoint;
		myPoint.x = theX;
		myPoint.y = theY;
		
		_myPoints.push_back(myPoint);
	}
}